<?php
// Exit if accessed directly
if (!defined('ABSPATH')) {
	exit;
}

$placeholder_folder = wp_upload_dir();
DEFINE("PLACEHOLDER", $placeholder_folder['baseurl'] . '/placeholder.png');

$includes = array(
	'inc/function-enqueue.php', // Load scripts and styles;
	'inc/function-general.php', // Load Theme founctions;
	'inc/function-widgets.php', // Load Widgets;
	'inc/wp_bootstrap_navwalker.php', // Register Custom Navigation Walker
	'inc/function-seo.php', // Website SEO
	'inc/class-post-type.php', // Website Post Type
	'inc/class-taxonomy.php', // Website Post Type Tax
	'inc/aq_resizer.php', //   * USAGE:    $aq_image = aq_resize( $img_url, $image_size['width'], $image_size['height'], true );
);
foreach ($includes as $i) {
	locate_template($i, true);
}

/* Custom Post Type Start */
new Custom_Post_Type_Post($post_type = 'case-study', $plural = 'Case Study', $single = 'Case Study', $description = '');
/*new Custom_Taxonomy($taxonomy = 'project-category', $plural = 'Project taxonomies', $single = 'Project taxonomy', $post_types = array('project'));*/
/* Custom Post Type End */